package ihm_clarifiee.Control;

import ihm_clarifiee.application.Histoire;
import ihm_clarifiee.Presentation.PHistoire;
import ihm_clarifiee.application.Backlog;
import ihm_clarifiee.application.Theme;



/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Arthur
 */
public class CHistoire extends Histoire{

    private PHistoire pres;
    
    public CHistoire(Backlog bk,String nom, String desc, int duree,Theme th, int etat){
    	super(bk,nom,desc,duree,th, etat);
        pres = new PHistoire(this);
    }
    
    public PHistoire getPresentation(){
        return pres;
    }
    
    public void update(String nom, String desc, int duree,Theme th, int etat){
        super.setNom(nom);
        super.setDescription(desc);
        super.setDuree(duree);
        super.setTheme(th);
        super.setEtat(etat);
    }
}
